.Net Framework > v2.0.50727 > System > Array > Sort<TKey,TValue> Sort<TKey,TValue>(TKey[],TValue[])
Sort<TKey,TValue>(TKey[],TValue[],IComparer<TKey>)
Sort<TKey,TValue>(TKey[],TValue[],Int32,Int32)
Sort<TKey,TValue>(TKey[],TValue[],Int32,Int32,IComparer<TKey>)


Sort<TKey,TValue>(TKey[],TValue[])

Category
Method
Description
Sorts a pair of System.Array objects (one contains the keys and the other contains the corresponding items) based on the keys in the first System.Array using the System.IComparable`1 generic interface implementation of each key.
Type
void
Character
public, static
Parameters
NameTypeDescription
keysTKey[]
itemsTValue[]
Attributes
NameValue/Assignment
ReliabilityContractAttributeSystem.Runtime.ConstrainedExecution.Consistency.MayCorruptInstance, System.Runtime.ConstrainedExecution.Cer.MayFail
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Sort<TKey,TValue>(TKey[],TValue[],IComparer<TKey>)

Category
Method
Description
Sorts a pair of System.Array objects (one contains the keys and the other contains the corresponding items) based on the keys in the first System.Array using the specified System.Collections.Generic.IComparer`1 generic interface.
Type
void
Character
public, static
Parameters
NameTypeDescription
keysTKey[]
itemsTValue[]
comparerSystem.Collections.Generic.IComparer<TKey>
Attributes
NameValue/Assignment
ReliabilityContractAttributeSystem.Runtime.ConstrainedExecution.Consistency.MayCorruptInstance, System.Runtime.ConstrainedExecution.Cer.MayFail
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Sort<TKey,TValue>(TKey[],TValue[],Int32,Int32)

Category
Method
Description
Sorts a range of elements in a pair of System.Array objects (one contains the keys and the other contains the corresponding items) based on the keys in the first System.Array using the System.IComparable`1 generic interface implementation of each key.
Type
void
Character
public, static
Parameters
NameTypeDescription
keysTKey[]
itemsTValue[]
indexInt32
lengthInt32
Attributes
NameValue/Assignment
ReliabilityContractAttributeSystem.Runtime.ConstrainedExecution.Consistency.MayCorruptInstance, System.Runtime.ConstrainedExecution.Cer.MayFail
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Sort<TKey,TValue>(TKey[],TValue[],Int32,Int32,IComparer<TKey>)

Category
Method
Description
Sorts a range of elements in a pair of System.Array objects (one contains the keys and the other contains the corresponding items) based on the keys in the first System.Array using the specified System.Collections.Generic.IComparer`1 generic interface.
Type
void
Character
public, static
Parameters
NameTypeDescription
keysTKey[]
itemsTValue[]
indexInt32
lengthInt32
comparerSystem.Collections.Generic.IComparer<TKey>
Attributes
NameValue/Assignment
ReliabilityContractAttributeSystem.Runtime.ConstrainedExecution.Consistency.MayCorruptInstance, System.Runtime.ConstrainedExecution.Cer.MayFail
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database